package com.ws.eduservice.client;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

/**
 * @author ws
 * @create 2024-12-14 15:55
 */
@FeignClient("service-order")
@Component
public interface OrderClient {
    @GetMapping("/eduorder/order/isBuy/{courseId}/{memeberId}")
    public Boolean isBuy(@PathVariable("courseId") String courseId,
                         @PathVariable("memeberId") String memeberId);
}
